import { EJewel } from "../../../../../Message/Public/EJewel";
import { GlobalClass } from "../../../../../com/mui/core/GlobalClass";
import { ImagesConst } from "../../../resource/ImagesConst";
type int = number;
//class CommonBmdUtil
    
    export  class CommonBmdUtil
    {
        

        public static getAttributeBmd(arg1: int): Object /* flash.display.BitmapData */
        {
            var loc1=null;
            var loc2=arg1;
            switch (loc2) 
            {
                case EJewel._EJewelLife:
                {
                    loc1 = GlobalClass.getBitmapData(ImagesConst.AttributeLogo_Life);
                    break;
                }
                case EJewel._EJewelPhysicalAttack: case EJewel._EJewelMagicAttack:
                {
                    loc1 = GlobalClass.getBitmapData(ImagesConst.AttributeLogo_Attack);
                    break;
                }
                case EJewel._EJewelPhysicalDefense: case EJewel._EJewelMagicDefense:
                {
                    loc1 = GlobalClass.getBitmapData(ImagesConst.AttributeLogo_Defense);
                    break;
                }
                case EJewel._EJewelPhysicalCrit: case EJewel._EJewelMagicCrit:
                {
                    loc1 = GlobalClass.getBitmapData(ImagesConst.AttributeLogo_Crit);
                    break;
                }
                case EJewel._EJewelHit:
                {
                    loc1 = GlobalClass.getBitmapData(ImagesConst.AttributeLogo_Hit);
                    break;
                }
                case EJewel._EJewelJouk:
                {
                    loc1 = GlobalClass.getBitmapData(ImagesConst.AttributeLogo_Jouk);
                    break;
                }
                case EJewel._EJewelPass:
                {
                    loc1 = GlobalClass.getBitmapData(ImagesConst.AttributeLogo_Pass);
                    break;
                }
                case EJewel._EJewelToughness:
                {
                    loc1 = GlobalClass.getBitmapData(ImagesConst.AttributeLogo_Toughness);
                    break;
                }
                default:
                {
                    loc1 = GlobalClass.getBitmapData(ImagesConst.AttributeLogo_Attack);
                    break;
                }
            }
            return loc1;
        }
    }
